<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>unsetmenu</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : December 1995</div>
    <p>
      <b>unsetmenu</b> -  interactive button or menu or submenu de-activation</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>unsetmenu(button,[nsub])   </tt>
      </dd>
      <dd>
        <tt>unsetmenu(gwin,button,[nsub])  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>button</b>
        </tt>: a character string. The button name</li>
      <li>
        <tt>
          <b>gwin</b>
        </tt>: integer. The number of graphic window where the button is installed</li>
      <li>
        <tt>
          <b>nsub</b>
        </tt>: integer. The number of submenu to de-activate (if any). If button has no sub-menu, <tt>
          <b>nsub</b>
        </tt> is ignored</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    The function allows the user to desactivate  buttons or menus created by
    <tt>
        <b>addmenu</b>
      </tt> in the main or graphics windows command panels.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

//addmenu('foo')
//unsetmenu('foo')
//unsetmenu('File',2)
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="delmenu.htm">
        <tt>
          <b>delmenu</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="setmenu.htm">
        <tt>
          <b>setmenu</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="addmenu.htm">
        <tt>
          <b>addmenu</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
